all: buy_book_online

buy_book_online: buy_book_online.o buyer.o book.o
	g++ buy_book_online.o buyer.o book.o -o buy_book_online

buy_book_online.o: buy_book_online.cpp
	g++ -c buy_book_online.cpp

buyer.o: buyer.cpp
	g++ -c buyer.cpp

book.o: book.cpp
	g++ -c book.cpp

clean:
	rm -rf *.o buy_book_online
